package com.edu.app.service.sys.core;

import com.edu.app.bean.core.SysCustomer;
import com.edu.app.bean.core.popup.CustomersPop;
import com.edu.app.service.sys.BaseService;

import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysCustomerService extends BaseService<SysCustomer> {
    Integer importCustomers(String data);
    Integer obsoleteCustomer(Integer id);
    PageInfo getObsoleteCustomers(Integer currentPage, Integer pageSize, String order, String seq);
    List<CustomersPop> getCustomersPop();
    List<CustomersPop> getNotAssignedCustomersPop();
    PageInfo getCustomer(Integer currentPage, Integer pageSize);
    PageInfo getPoCustomer(Integer currentPage, Integer pageSize);
    List<SysCustomer> searchCustomer(String name);
    PageInfo getPoCustomerToday(Integer currentPage, Integer pageSize);
    PageInfo getPoCustomerAssigned(Integer currentPage, Integer pageSize);
    PageInfo getPoCustomerNotAssigned(Integer currentPage, Integer pageSize);
    List<SysCustomer> getCustomerByChannelTag(String channel_tag, Integer number);
    Integer getCustomerNoByChannelTag(String channel_tag);
}
